﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///用户类
/// </summary>
public class UserCurrent
{
    #region Fields
    private string userID;
    private string userPwd;
    private string userName;
    private string userPhone;
    private string userEmail;
    private bool isEnabled;
    private List<string> userRoles;
    #endregion

    #region Methods
    /// <summary>
    /// 用户ID
    /// </summary>
    public string UserID
    {
        get { return userID; }
        set { userID = value; }
    }
    /// <summary>
    /// 用户密码
    /// </summary>
    public string UserPwd
    {
        get { return userPwd; }
        set { userPwd = value; }
    }
    /// <summary>
    /// 用户姓名
    /// </summary>
    public string UserName
    {
        get { return userName; }
        set { userName = value; }
    }
    /// <summary>
    /// 用户联系方式
    /// </summary>
    public string UserPhone
    {
        get { return userPhone; }
        set { userPhone = value; }
    }
    /// <summary>
    /// 用户Email
    /// </summary>
    public string UserEmail
    {
        get { return userEmail; }
        set { userEmail = value; }
    }
    /// <summary>
    /// 用户状态
    ///    True：启用; False：禁用
    /// </summary>
    public bool IsEnabled
    {
        get { return isEnabled; }
        set { isEnabled = value; }
    }
    /// <summary>
    /// 用户角色列表
    /// </summary>
    public List<string> UserRoles
    {
        get { return userRoles; }
        set { userRoles = value; }
    }
    #endregion
}